package com.ml.shop.production;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * 整个mybatis-plus
 * 配置
 *      配置数据源
 *          导入驱动（写入common）
 *          整合数据源信息application.yml
 *      配置mybatis-plus信息
 *          MapperScan
 *          映射文件信息
 */
@MapperScan("com.ml.shop.production.dao")
@SpringBootApplication
public class ProductionApplication {

    public static void main(String[] args) {
        SpringApplication.run(ProductionApplication.class, args);
    }

}
